import { FrameworkDelegate } from '../../framework-delegate/framework-delegate';
import { OverlayInterface } from '../overlays-interface/overlays-interface';

/**
 * 模态模式节点
 *
 * @author chitanda
 * @date 2021-04-05 17:04:54
 * @export
 * @interface ModalElement
 */
export interface ModalElement extends OverlayInterface {
  /**
   * 显示标题
   *
   * @author chitanda
   * @date 2021-06-06 18:06:52
   * @type {string}
   */
  caption: string;

  /**
   * 渲染组件DOM实例
   *
   * @author chitanda
   * @date 2021-04-05 09:04:50
   * @type {HTMLElement}
   */
  usersElement: HTMLElement;

  /**
   * 渲染代理
   *
   * @description 注解：Prop
   * @author chitanda
   * @date 2021-04-05 09:04:57
   * @type {FrameworkDelegate}
   */
  delegate?: FrameworkDelegate;
}
